package com.njlime.member.repository.app;

import com.njlime.core.helper.PageBean;
import com.njlime.member.entiies.MemberComment;
import com.njlime.member.entiies.MemberNotice;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Map;

/**
 * Created by Dean on 2017-10-09.
 */
public interface AppMemberNoticeDao extends JpaRepository<MemberNotice, Integer>,JpaSpecificationExecutor<MemberNotice> {
    Map<String,Object> get(Integer id);
    Integer readUpdate(Integer id, Integer memberId);
    PageBean list(PageBean pageBean, MemberNotice vipNotice);
}
